package com.cheetah.start.common.config;


import com.cheetah.start.common.config.prop.UploadProp;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;

@Configuration
public class FileStaticConfig {

    @Inject("${upload}")
    UploadProp uploadProp;

    //@Bean
    //public void config() {
    //    StaticMappings.add("/uploads", new FileStaticRepository(uploadProp.getPath()));
    //}
}
